Endpoint-Post-/ Toots→Json names a function, with lambda list NIL:
Create a new Toot.
Input JSON must have the following fields: name, baseColor, padColor, pattern, patternColor, tShirtColor
Responds with 201 (Created); or 409 (Conflict) if the name is in use or for some other reason the value can't be entered; 422 if the Toot name, color or pattern name(s) given are not valid. (400 if the request is malformed.)
This is a web service endpoint accessed by the HTTP method POST at the URI template /toots. It returns a content-type of application/json.
There are no URI parameters.
It will report a slow response if it takes longer than 0.03 seconds (30 milliseconds) to complete.
Defined in file src/endpoints/slash-toots.lisp.